<#import "/spring.ftl" as spring />
<#include "/includes/header.ftl">

<FORM name="login" action='<@spring.url "/login.jsp"/>' method="post">
  <TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
    <#if loginForwardAction?has_content>
      <input type="hidden" name="forwardAction" value='<@spring.url "${loginForwardAction}"/>' />
    </#if>
    <TBODY>
      <TR>
        <TD>
          <TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
            <TBODY>
              <TR>
                <TD class=pageHeading>未注册用户</TD>
                <TD class=pageHeading align=right></TD>
              </TR>
            </TBODY>
          </TABLE>
        </TD>
      </TR>
      <#if tips?has_content && tips == "passwordsent">
      <tr>
        <td>
          <table border="0" width="100%" cellspacing="0" cellpadding="2">
            <tr class="messageStackError">
              <td class="messageStackError">
                  <@spring.bind "command.emailAddr" />
                    提示信息&nbsp;${spring.status.value?default("")}.
              </td>
            </tr>
          </table>
        </td>
      </tr>
      </#if>
      <TR>
        <TD>
          <TABLE cellSpacing="0" cellPadding="2" width="100%" border="0">
            <TBODY>
              <TR>
                <TD class="main" vAlign="top" width="50%">
                  <B>新用户</B>
                </TD>
                <TD class="main" vAlign="top" width="50%">
                  <B>注册用户</B>
                </TD>
              </TR>
              <TR>
                <TD vAlign="top" width="50%" height="100%">
                  <TABLE class=infoBox height="100%" cellSpacing="1" cellPadding="2" width="100%" border="0">
                    <TBODY>
                      <TR class=infoBoxContents>
                        <TD>
                          <TABLE height="100%" cellSpacing="0" cellPadding="2" width="100%" border="0">
                            <TBODY>
                              <TR>
                                <TD>&nbsp;</TD>
                              </TR>
                              <TR>
                                <TD class="main" vAlign="top">
                                  你还没有注册<BR /><BR />
                                 立即注册,享受服务<BR />
                                </TD>
                              </TR>
                              <TR>
                                <TD>&nbsp;</TD>
                              </TR>
                              <TR>
                                <TD>
                                  <TABLE cellSpacing="0" cellPadding="2" width="100%" border="0">
                                    <TBODY>
                                      <TR>
                                        <TD width="10">&nbsp;</TD>
                                        <TD align=center>
                                          <A href='<@spring.url "/register.jsp"/>'>注册</A>
                                        </TD>
                                        <TD width="10">&nbsp;</TD>
                                      </TR>
                                    </TBODY>
                                  </TABLE>
                                </TD>
                              </TR>
                            </TBODY>
                          </TABLE>
                        </TD>
                      </TR>
                    </TBODY>
                  </TABLE>
                </TD>
                <TD vAlign="top" width="50%" height="100%">
                  <TABLE class=infoBox height="100%" cellSpacing="1" cellPadding="2" width="100%" border="0">
                    <TBODY>
                      <TR class=infoBoxContents>
                        <TD>
                          <TABLE height="100%" cellSpacing="0" cellPadding="2" width="100%" border="0">
                            <TBODY>
                              <TR>
                                <TD colSpan="2">&nbsp;</TD>
                              </TR>
                              <TR>
                                <TD class="main" colSpan="2">登录</TD>
                              </TR>
                              <TR>
                                <TD colSpan="2">
                                  <IMG height="10" alt="" src='<@spring.url "/IMAGES/EC/pixel_trans.gif"/>' width="100%" border="0"/>
                                </TD>
                              </TR>
                              <TR>
                                <TD class="main" align="right">
                                  <B>电邮地址:</B>
                                </TD>
                                <TD class="main">
                                  <@spring.bind "command.emailAddr" />
                                  <INPUT name="${spring.status.expression}" value='${spring.status.value?default("demo@ungoo.com")}' />
                                  <font color="red">${spring.status.errorMessage}</font>
                                </TD>
                              </TR>
                              <TR>
                                <TD class="main" align="right">
                                  <B>密码:</B>
                                </TD>
                                <TD class="main">
                                  <@spring.bind "command.password" />
                                  <INPUT type="password" maxLength="40" name="${spring.status.expression}" value='${spring.status.value?default("abc123")}' />
                                  <font color="red">${spring.status.errorMessage}</font>
                                </TD>
                              </TR>
                              <TR>
                                <TD colSpan="2">&nbsp;</TD>
                              </TR>
                              <TR>
                                <TD colSpan="2" align=center>
                                  <INPUT title=" Sign In " type="submit" alt="Sign In" name="submit" value="Submit"/>
                                  <A href='<@spring.url "/register.jsp"/>'>注册</A>
                                </TD>
                              </TR>
                              <TR>
                                <TD class="smallText" colSpan="2">
                                  <A href='<@spring.url "/forgetpassword.jsp"/>'>忘记密码.</A>
                                </TD>
                              </TR>
                              <TR>
                                <TD colSpan="2">&nbsp;</TD>
                              </TR>
                              <TR>
                                <TD colSpan="2">演示帐号 (电邮地址: demo@ungoo.com 密码:abc123)</TD>
                              </TR>
                            </TBODY>
                          </TABLE>
                        </TD>
                      </TR>
                    </TBODY>
                  </TABLE>
                </TD>
              </TR>
            </TBODY>
          </TABLE>
        </TD>
      </TR>
    </TBODY>
  </TABLE>
</FORM>

<#include "/includes/footer.ftl">
